<?php

$uploaddir = './images/'; 
$file = $uploaddir ."VictorDani_".basename($_FILES['uploadfile']['name']); 
$file_name= "VictorDani_".$_FILES['uploadfile']['name']; 
 
if (move_uploaded_file($_FILES['uploadfile']['tmp_name'], $file)) echo "success"; 
else echo "error";

?>
